import UIKit
import Flutter
//import flutter_boost

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
    
    override func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
    ) -> Bool {
        
        let router = PlatformRouterImp();
        FlutterBoostPlugin.sharedInstance().startFlutter(with: router, onStart: { (engine) in
        });
        
        self.window = UIWindow(frame: UIScreen.main.bounds)
        let viewController = ViewController()
        let navi = UINavigationController(rootViewController: viewController)
        self.window.rootViewController = navi
        self.window.makeKeyAndVisible()
        
        return true;//super.application(application, didFinishLaunchingWithOptions: launchOptions)
    }
}
